﻿using System;
namespace GtsServer.Model
{
    /// <summary>
    /// EventChance:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class EventChance
    {
        public EventChance()
        { }
        #region Model
        private int _id;
        private int? _eventid;
        private int? _chancetypeid;
        private int? _chancevalue;
        private int? _eventMouldID;

        public int? EventMouldID
        {
            get { return _eventMouldID; }
            set { _eventMouldID = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 事件id
        /// </summary>
        public int? EventID
        {
            set { _eventid = value; }
            get { return _eventid; }
        }
        /// <summary>
        /// 概率id
        /// </summary>
        public int? ChanceTypeID
        {
            set { _chancetypeid = value; }
            get { return _chancetypeid; }
        }
        /// <summary>
        /// 概率值
        /// </summary>
        public int? ChanceValue
        {
            set { _chancevalue = value; }
            get { return _chancevalue; }
        }
        #endregion Model

    }
    public class EventChanceModelShow : EventChance
    {
        private string _mouldName;

        public string MouldName
        {
            get { return _mouldName; }
            set { _mouldName = value; }
        }
    }
}

